package ar.com.temporis.core.domain;

import org.hibernate.validator.NotEmpty;
import org.hibernate.validator.NotNull;

import ar.com.temporis.framework.domain.Entity;

public class Article extends Entity implements CodeAware, DescriptionAware {

	@NotNull
	@NotEmpty
	private String code;
	
	@NotNull
	@NotEmpty
	private String description;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
